package com.naiterui.ehp.bs.cms.modules.user.vo;

import com.naiterui.ehp.bs.cms.common.json.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel(value = "consultComplaintVO", description = "投诉对象")
public class ConsultComplaintVO implements Serializable {

    /**
     * 字段或域定义：<code>serialVersionUID</code>
     */
    private static final long serialVersionUID = -1681851084471392231L;

    @ApiModelProperty(value = "患者id")
    private Long patientId;

    @ApiModelProperty(value = "患者呢称")
    private String patientNickName;

    @ApiModelProperty(value = "患者头像(有可能为空串)")
    private String patientHeadUrl;

    @ApiModelProperty(value = "投诉内容")
    private String question;

    @ApiModelProperty(value = "联系方式")
    private String phone;

    @ApiModelProperty(value = "投诉时间(yyyy-MM-dd hh:mm:ss)")
    private String createdAt;

    /**
     * 会话关系。0：患者发起；1：医生发起
     */
    @Dict(type = "consult_session_relation")
    private Integer relation;



}
